package com.czu.service;

import com.czu.domain.Person;

import javax.jws.WebService;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import java.awt.*;
public interface UserService {
    @GET
    @Produces({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML})
    @Path("/get/{id}")
    public Person getPerson(@PathParam("id") Integer id);

    @DELETE
    @Produces({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML})
    @Path("/delete/{id}")
    public Person deletePerson(@PathParam("id") Integer id);
}
